package com.hotel.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Reservation extends BaseEntity {
    /**
     * 预订表id
     */
    private Integer id;
    
    /**
     * 用户id
     */
    private Integer userId;
    
    /**
     * 房间类型id
     */
    private Integer roomTypeId;
    
    /**
     * 分配房间id
     */
    private Integer assignedRoomId;
    
    /**
     * 入住日期
     */
    private LocalDateTime checkInDate;
    
    /**
     * 预计离店日期
     */
    private LocalDateTime checkOutDate;
    
    /**
     * 预计金额
     */
    private BigDecimal expectedCost;
    
    /**
     * 预付金额
     */
    private BigDecimal advancePayment;
    
    /**
     * 成人数量
     */
    private Integer adultNum;
    
    /**
     * 儿童数量
     */
    private Integer childNum;
    
    /**
     * 特殊要求
     */
    private String request;
    
    /**
     * 预订状态
     */
    private Integer status;
}